<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="editorDetail.title"/></title>
    <meta name="heading" content="<fmt:message key='editorDetail.heading'/>"/>
</head>

<s:form id="editorForm" action="saveEditor" method="post" validate="true">
    <li style="display: none">
        <s:hidden key="editor.id"/>
    </li>
    <s:textfield key="editor.collegeEmail" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.degree" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.edAppliedService" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.edCapableService" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.edResumeName" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.edResumePath" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.edServedService" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.edType" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.entrolyear" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.formerDegree" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.formermajor" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.grade" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.graduateyear" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.idle" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.major" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.nice" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.paypalno" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.personalSignature" required="false" maxlength="65535" cssClass="text medium"/>
    <s:textfield key="editor.praise" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.referrerid" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.region" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.remainidle" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.resume" required="false" maxlength="65535" cssClass="text medium"/>
    <s:textfield key="editor.school" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.servicetype" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.userId" required="true" maxlength="255" cssClass="text medium"/>
    <s:textfield key="editor.volume" required="true" maxlength="255" cssClass="text medium"/>

    <li class="buttonBar bottom">
        <s:submit cssClass="button" method="save" key="button.save" theme="simple"/>
        <c:if test="${not empty editor.id}">
            <s:submit cssClass="button" method="delete" key="button.delete"
                onclick="return confirmDelete('Editor')" theme="simple"/>
        </c:if>
        <s:submit cssClass="button" method="cancel" key="button.cancel" theme="simple"/>
    </li>
</s:form>

<script type="text/javascript">
    Form.focusFirstElement($("editorForm"));
</script>
